package com.yunji.coupon.vo;

import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author : peter-zhu
 * @date : 2024/10/25 16:43
 * @description : TODO
 **/
@Data
public class CouponVO {
    @ApiModelProperty(value = "优惠券id")
    private Long couponId;

    @ApiModelProperty(value = "优惠券模板id")
    private Long couponTmplId;

    @Excel(name = "优惠券名称")
    @ApiModelProperty("优惠券名称")
    private String couponName;

    @Excel(name = "优惠券类型")
    @ApiModelProperty("优惠券类型")
    private String couponType;

    @Excel(name = "折扣类型")
    @ApiModelProperty("折扣类型 1:立减 2:折扣 ")
    private Integer discountType;

    @Excel(name = "折扣值")
    @ApiModelProperty("折扣值")
    private BigDecimal discountValue;

    @ApiModelProperty("优惠券状态 0 未使用 1 已使用 -2已撤回 -1 已失效")
    private Integer couponStatus;

    @Excel(name = "优惠券状态")
    @ApiModelProperty("优惠券状态描述")
    private String couponStatusDesc;

    @Excel(name = "领取时间")
    @ApiModelProperty("领取时间")
    private String receiveTime;

    @Excel(name = "有效期")
    @ApiModelProperty("有效期")
    private String validTime;

    @Excel(name = "规则说明", width = 15)
    @ApiModelProperty("规则说明")
    private String explanation;

    @Excel(name = "用户手机号")
    @ApiModelProperty("用户手机号")
    private String phone;

    @Excel(name = "用户昵称")
    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("不可用原因")
    private String reason;

    @ApiModelProperty("优惠券金额")
    private BigDecimal amount;
}
